<?php
	  class Delete extends Controller{
		   function Delete(){
			  
			 parent::Controller();
			 $this->load->database();
			 $this->load->helper('form');
			 $this->load->helper('url');
			  
			  
		   }
		   function delete_news(){	
		   		$this->db->where('newsid',$this->uri->segment(3));
				if
				($this->db->delete('gaoji_news'))
				{
					echo	"删除成功";
					echo anchor('list_news/index/','返回');
					//$this->load->view('success_msg');
					
					}
				
			}
			
			
	  }

?>